package com.fr.web;

import com.fr.web.core.WebUtils;
import javax.servlet.http.HttpServletRequest;

public class HttpServletReportletRequest
  implements ReportletRequest
{
  private HttpServletRequest req;

  public HttpServletReportletRequest(HttpServletRequest paramHttpServletRequest)
  {
    this.req = paramHttpServletRequest;
  }

  public HttpServletRequest getHttpServletRequest()
  {
    return this.req;
  }

  public Object getParameter(String paramString)
  {
    if ((this.req == null) || (paramString == null))
      return null;
    return WebUtils.getHTTPRequestParameter(this.req, paramString);
  }
}